package models

// WzjCustomerLegal 客户法人信息表
type WzjCustomerLegal struct {
	CustomerId  int64  `gorm:"column:customer_id;type:bigint(20);comment:客户id;NOT NULL" json:"customer_id"`
	LegalName   string `gorm:"column:legal_name;type:varchar(255);comment:法人姓名;NOT NULL" json:"legal_name"`
	LegalIdCard string `gorm:"column:legal_id_card;type:varchar(255);comment:法人身份证号;NOT NULL" json:"legal_id_card"`
	LegalPost   string `gorm:"column:legal_post;type:varchar(255);comment:法人职务;NOT NULL" json:"legal_post"`
}

func (m *WzjCustomerLegal) TableName() string {
	return "wzj_customer_legal"
}
